home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960715-19961006 / 000351_news@columbia.edu _Wed Sep 18 11:22:28 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id LAA23022 for <kermit.misc@watsun.cc.columbia.edu>; Wed, 18 Sep 1996 11:22:27 -0400 (EDT)
  3. Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.7.5/8.7.3) id LAA24968 for kermit.misc@watsun; Wed, 18 Sep 1996 11:22:26 -0400 (EDT)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Kermit-95 scripts
  8. Date: 18 Sep 1996 15:22:05 GMT
  9. Organization: Columbia University
  10. Lines: 32
  11. Message-ID: <51p42t$9qr@apakabar.cc.columbia.edu>
  12. References: <51om27$e7g@newton.fgg.eur.nl>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <51om27$e7g@newton.fgg.eur.nl>,
  16. Pim Clotscher <clotscher@coh.fgg.eur.nl> wrote:
  17. : As a user os MS-Kermit for several years, I have a problem with a
  18. : script-bases connection to one of our HP Unix-hosts.  The script runs fine,
  19. : I can login and run a grep on a file, but I never see the terminals screen,
  20. : but only the K95 screen. When I do not logout the host, I can connect from
  21. : the K95 prompt, and then at least I see the grep-results. In Ms-Kermit there
  22. : was a command set display quiet/regular. Whats the K95 alternative?  My
  23. : script is attached, to show what ive tried.
  24. : ...
  25. : set input echo on
  26. : output grep \$(STRING) /usr/local/SENDMAIL/novaliases\13
  27. : pause 2
  28. : ;output logout\13
  29. : ;pause 3
  30. : ;exit
  31. You need an INPUT command after the "output grep" command.  If there is no
  32. INPUT command, nobody is reading the output from grep, so it is just sitting
  33. there waiting to be read, which happens next time you CONNECT.
  34.  
  35. So, for example, let's suppose your shell prompt on the UNIX system is
  36. <LF>$<SP> (linefeed, dollar sign, space):
  37.  
  38.   set input echo on
  39.   output grep \$(STRING) /usr/local/SENDMAIL/novaliases\13
  40.   input 30 {\10$\32}
  41.  
  42. Now you will see the results from grep on your K95 command screen.  And
  43. in version 1.1.5 and later, you can use Page Up / Down to scroll through it.
  44.  
  45. - Frank